From: Florian Müllner Date: Thu, 5 Mar 2026 15:22:41 +0000 (+0100) Subject: appDisplay: Stop using toggle-mode with folder icons X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~28^2~4^2^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=90a5d994a6cbe6428fa3083111b03fbb82126c63;p=gnome-shell.git appDisplay: Stop using toggle-mode with folder icons This is essentially a left-over from the original folder design, dating all the way back to commit 6e3e2d9 in 2013. It no longer makes much sense with the current design iteration, where we pretend that the icon pops out of the grid and becomes the dialog (i.e. we hide the icon and zoom out the dialog from its position). Part-of: (cherry picked from commit e781d8155ab312a1335dd3082dfd8abfef8430b9) --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 02ddc949b..968b7b818 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2279,7 +2279,6 @@ export const FolderIcon = GObject.registerClass({ super._init({ style_class: 'overview-tile app-folder', button_mask: St.ButtonMask.ONE, - toggle_mode: true, can_focus: true, }, global.settings.is_writable('app-picker-layout')); this._id = id; @@ -2441,9 +2440,6 @@ export const FolderIcon = GObject.registerClass({ mode, delay: isOpen ? 0 : FOLDER_DIALOG_ANIMATION_TIME - duration, }); - - if (!isOpen) - this.checked = false; }); } }